//
//  ST_TimedRewardController.swift
//  btvideo
//
//  Created by Jason on 2022/1/21.
//  Copyright © 2022 JarvanZhang. All rights reserved.
//

import UIKit
import SwiftyJSON

class ST_TimedRewardController: UIViewController {

    
    private var json:JSON
    
    init(rewardJson:JSON){
        
        self.json = rewardJson
        super.init(nibName: nil, bundle: nil)
        self.overCurrentContext = true
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.addSubview(defaultView)
        defaultView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }
    
    private lazy var defaultView = ST_TimedRewardDefaultView(rewardJson: json)
    
}
